home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / dvglue10.arc / TVPSTAT.C < prev    next >
C/C++ Source or Header  |  1988-08-13  |  1KB  |  30 lines

  1. /*================================================*/
  2. /* TVPSTAT.C                                      */
  3. /*                                                */
  4. /* (c) Copyright 1988 Ralf Brown                  */
  5. /*     All Rights Reserved                        */
  6. /* May be freely copied for noncommercial use as  */
  7. /* long as this copyright notice is kept intact   */
  8. /* and any changes are indicated in the comment   */
  9. /* blocks for the functions                       */
  10. /*================================================*/
  11.  
  12. #include "tvapi.h"
  13.  
  14. /*================================================*/
  15. /* TVptr_status     get button status from last   */
  16. /*                  pointer message               */
  17. /*   Ralf Brown 4/8/88                            */
  18. /*   Ralf Brown 6/21/88 rewrote with TVsendmsg1   */
  19. /*================================================*/
  20.  
  21. DWORD pascal TVptr_status(OBJECT pointer)
  22. {
  23.    if (pointer)
  24.       return (DWORD) TVsendmsg1(STATUS_MSG, TOS, pointer) ;
  25.    else
  26.       return (DWORD) 0 ;
  27. }
  28.  
  29. /* End of TVPSTAT.C */
  30.